package com.gwcm.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gwcm.exception.BusinessException;
import com.gwcm.model.dto.category.CategoryQueryRequest;
import com.gwcm.model.entity.Category;
import com.gwcm.model.vo.CategoryVo;

/**
* @author 15375
* @description 针对表【category】的数据库操作Service
* @createDate 2023-03-11 15:41:21
*/
public interface CategoryService extends IService<Category> {

    IPage<CategoryVo> pageList(CategoryQueryRequest categoryQueryRequest) throws BusinessException;

    void saveCategory(Category category);

    void updateCategory(Category category);
}
